package com.qtjf.qtmoneyservice.view;

import android.content.Context;
import android.text.Html;
import android.view.View;
import android.widget.TextView;

import com.qtjf.qtmoneyservice.R;

/**
 * Created by Administrator on 2017/6/27 0027.
 */

public class YDThreeView {
    View mView;
    Context mContext;
    TextView text1;

    public YDThreeView(Context mContext) {
        this.mContext = mContext;
    }

    public View getView()
    {
        mView=View.inflate(mContext, R.layout.yindao_three_layout_view,null);
        initView();
        initData();
        initEvent();
        return mView;
    }

    private void initView() {
        text1= (TextView) mView.findViewById(R.id.text1);
    }

    private void initData() {
        text1.setText("仅需·"+ Html.fromHtml("<font color='#4162ff'>身份证+手机号</font>"));
    }

    private void initEvent() {
    }
}
